package org.example.abstract_factory;

/**
 * @author Zhang Yu
 * @description: TODO
 * @date 2024/5/17 9:37
 */
public class GoodHtmlDocument implements HtmlDocument{


    public GoodHtmlDocument(String path) {
        System.out.println("GoodHtmlDocument path = " + path);
    }

    @Override
    public void save(String path) {
        System.out.println("GoodHtmlDocument save called");
    }

    @Override
    public String toHtml() {
        System.out.println("GoodHtmlDocument toHtml called");
        return null;
    }
}
